//
//  GYUserInfo.h
//  GoodLuck
//
//  Created by apple on 2018/3/2.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GYUserInfo : NSObject

/** 用户等级 */
@property (nonatomic, strong) NSString *level_name;

/** 用户名 */
@property (nonatomic, strong) NSString *member_name;

/** 用户手机号码 */
@property (nonatomic, strong) NSString *member_mobile;

/** 用户头像 */
@property (nonatomic, strong) NSString *avator;

/** 店铺收藏 */
@property (nonatomic, assign) int favorites_store;

/** 商品收藏 */
@property (nonatomic, assign) int favorites_goods;


/** 用户头像URL */
@property (nonatomic, strong) NSURL *avatorURL;

/** 邀请码 */
@property (nonatomic, strong) NSString *inviter_code;

/** 分销名片二维码url */
@property (nonatomic, strong) NSString *codeimg;


/** 获取管辖区店铺销售奖励 */
@property (nonatomic, assign) int getcitypoints;

/** 平台奖励数 */
@property (nonatomic, assign) int getpoints;

/** 下线会员消费返回积分 */
@property (nonatomic, assign) int getorderpoints;

/** 成功邀请会员数 */
@property (nonatomic, assign) int member_count;

/** 成功邀请VIP数 */
@property (nonatomic, assign) int vipmember_count;

/** VIP邀请码 */
@property (nonatomic, strong) NSString *vip_inviter_code;

/** 待付款商品数量 */
@property (nonatomic, assign) int order_nopay_count;

/** 待发货商品数量 */
@property (nonatomic, assign) int order_nodev_count;

/** 待收货数量 */
@property (nonatomic, assign) int order_noreceipt_count;

/** 待评价 */
@property (nonatomic, assign) int order_noeval_count;

/** 退款/退货 */
@property (nonatomic, assign) int returnCount;
/**
 加载我的 中 个人信息

 @param finish <#finish description#>
 */
+ (void)loadUserInfo:(void (^)(GYUserInfo * _Nullable userInfo,NSError * _Nullable error))finish;
@end
